package com.hm.health.BLE;

import java.util.Map;

/**
 * The interface Ible device.
 * @author chenshi
 */
public interface IBLEDevice {

    /**
     * Connect.
     *
     * @param strAddress the str address
     */
    void connect(String strAddress);

    /**
     * Sets on device status.
     *
     * @param onDeviceStatus the on device status
     */
    void setOnDeviceStatus(OnDeviceStatus onDeviceStatus);

    /**
     * Gets device status map.
     *
     * @return the device status map
     */
    Map<String, Boolean> getDeviceStatusMap();

    /**
     * Disconnect.
     */
    void disconnect();

    /**
     * Disconnect.
     *
     * @param address the address
     */
    void disconnect(String address);
}
